-- GENERATED SPELL FOR [Spearcrafter Otembe] --


function spell0_15408(pUnit, Event) --@Head Crack,n/a--
pUnit:FullCastSpellOnTarget(3148,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15408', 20287, 1)
end

function Sorts_15408(pUnit, Event)
local choix_sorts_15408 = math.random(0, 0)
if choix_sorts_15408 == 0 then
pUnit:RegisterEvent('spell0_15408', 1, 1)
end
end

function mob15408_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15408', math.random(1500, 3000), 1)
end

function mob15408_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15408_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15408_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15408, 1, 'mob15408_Action')
RegisterUnitEvent(15408, 2, 'mob15408_Leave')
RegisterUnitEvent(15408, 3, 'mob15408_Kill')
RegisterUnitEvent(15408, 4, 'mob15408_Die')
